Hi Paulo,
this should do for example:
select substr( 'now'::date, 6, 2 );
Best regards,
Chris
At 00:04 +0000 01/30/2002, Paulo J. Matos wrote:
>Hi all,
>
>I have a field in a table of type date.
>In a results set I get some dates. How can I access the month in
>those dates?
>
>Best regards,
>
>--
>Paulo J. Matos : pocm(_at_)rnl.ist.utl.pt
>Instituto Superior Tecnico - Lisbon
>Software & Computer Engineering - A.I.
> - > http://www.rnl.ist.utl.pt/~pocm
> ---
> Yes, God had a deadline...
> So, He wrote it all in Lisp!
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://archives.postgresql.org
--
Chris Ruprecht
Network grunt and bit pusher extraordinaíre
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com